package cn.cdtu.tibetplan.mapper;

import cn.cdtu.tibetplan.pojo.Dynamics;
import cn.cdtu.tibetplan.pojo.DynamicsExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DynamicsMapper {
    long countByExample(DynamicsExample example);

    int deleteByExample(DynamicsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Dynamics record);

    int insertSelective(Dynamics record);

    List<Dynamics> selectByExampleWithBLOBs(DynamicsExample example);

    List<Dynamics> selectByExample(DynamicsExample example);

    Dynamics selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Dynamics record, @Param("example") DynamicsExample example);

    int updateByExampleWithBLOBs(@Param("record") Dynamics record, @Param("example") DynamicsExample example);

    int updateByExample(@Param("record") Dynamics record, @Param("example") DynamicsExample example);

    int updateByPrimaryKeySelective(Dynamics record);

    int updateByPrimaryKeyWithBLOBs(Dynamics record);

    int updateByPrimaryKey(Dynamics record);
}